﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="RegisterCV.aspx.cs" Inherits="CV_Projekt.RegisterCV" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MenuContent" runat="server">

    <%--<p>
        </p>--%>
    <br />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <link href="StyleSheets/RegisterCV.css" rel="stylesheet" />
    <h2 style="text-align: left; text-decoration: underline"><strong>Personliga uppgifter</strong></h2>
    <div id="KontaktuppgifterDiv">
        <table class="TableBorder">
            <tr>
                <td>
                    <h3>Kontaktuppgifter:</h3>
                </td>
            </tr>
            <tr>
                <td>
                    <h4>Förnamn</h4>
                    <asp:TextBox CssClass="Textbox" ID="TextBoxFirstName" runat="server"></asp:TextBox>
                </td>
                <td>
                    <h4>Efternamn</h4>
                    <asp:TextBox CssClass="Textbox" ID="TextBoxLastName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <h4>Personnummer</h4>
                    <asp:TextBox CssClass="Textbox" ID="TextBoxSocialSecurityNumber" runat="server"></asp:TextBox>
                </td>
                <td>
                    <h4>Adress</h4>
                    <asp:TextBox CssClass="Textbox" ID="TextBoxAddress" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <h4>Postnummer</h4>
                    <asp:TextBox CssClass="Textbox" ID="TextBoxPostalCode" runat="server"></asp:TextBox>
                </td>
                <td>
                    <h4>Postort</h4>
                    <asp:TextBox CssClass="Textbox" ID="TextBoxCity" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <h4>Land</h4>
                    <asp:TextBox CssClass="Textbox" ID="TextBoxLand" runat="server"></asp:TextBox>
                </td>
                <td>
                    <h4>Telefonnummer</h4>
                    <asp:TextBox CssClass="Textbox" ID="TextBoxPhoneNumber" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <h4>Email</h4>
                    <asp:TextBox CssClass="Textbox" ID="TextBoxEmail" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <div id="AddButtonDiv" class="AddButton">
                        <asp:Label ID="LabelUserInfoChanged" runat="server" Text="">
                        </asp:Label><asp:Button CssClass="Button" ID="ButtonChangeContactInfo" runat="server" Text="Ändra" OnClick="ButtonChangeContactInfo_Click" />
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div id="PresentationDiv">
        <table class="TableBorder">
            <tr>
                <td>
                    <h3>Presentation:</h3>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox CssClass="TextboxBeskrivning" ID="TextBoxPresentation" runat="server" Height="100px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <div id="AddButtonDiv1" class="AddButton">
                        <asp:Label ID="LabelConfirmationAddPresentation" runat="server"></asp:Label>
                        <asp:Button CssClass="Button" ID="ButtonAddPresentation" runat="server" Text="Spara ändringar" OnClick="ButtonAddPresentation0_Click" />
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <h2 style="text-align: left; text-decoration: underline">Tidigare erfarenheter</h2>
    <div id="AnställningarDiv" class="TwoColumns">
        <div>
            <table class="TableBorder">
                <tr>
                    <td>
                        <h3>Anställningar:</h3>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <h4>Upplagda anställningar: </h4>
                        <h4>
                            <asp:DropDownList ID="DropDownListExistingEmployments" runat="server">
                            </asp:DropDownList>
                            <asp:Button CssClass="Button" ID="ButtonDeleteEmployment" runat="server" Text="Ta bort" OnClick="ButtonDeleteEmployment_Click" />
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td>
                        <h4>Arbetsgivare</h4>
                        <asp:TextBox CssClass="Textbox" ID="TextBoxCompanyName" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <h4>Tjänst</h4>
                        <asp:TextBox CssClass="Textbox" ID="TextBoxEmploymentTitle" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <div id="CalendarDiv">
                    <tr>
                        <td>
                            <h4>Start<asp:Calendar ID="CalendarStartEmployment" runat="server" BackColor="White" BorderColor="#3366CC" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" Width="220px" BorderWidth="1px">
                                <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                                <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                                <OtherMonthDayStyle ForeColor="#999999" />
                                <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                                <TitleStyle BackColor="#003399" BorderColor="#3366CC" Font-Bold="True" BorderWidth="1px" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                                <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                                <WeekendDayStyle BackColor="#CCCCFF" />
                            </asp:Calendar>
                            </h4>
                        </td>
                        <td>
                            <h4>Slut<asp:Calendar ID="CalendarStopEmployment" runat="server" BackColor="White" BorderColor="#3366CC" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" Width="220px" BorderWidth="1px">
                                <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                                <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                                <OtherMonthDayStyle ForeColor="#999999" />
                                <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                                <TitleStyle BackColor="#003399" BorderColor="#3366CC" Font-Bold="True" BorderWidth="1px" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                                <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                                <WeekendDayStyle BackColor="#CCCCFF" />
                            </asp:Calendar>
                            </h4>
                        </td>
                    </tr>
                </div>
                <td colspan="2">
                    <h4>Beskrivning av anställning</h4>
                    <asp:TextBox CssClass="TextboxBeskrivning" ID="TextBoxDescriptionEmployment" runat="server" Height="50px" TextMode="MultiLine"></asp:TextBox>
                </td>
                <tr>
                    <td colspan="2">
                        <div id="AddButtonDiv2" class="AddButton">
                            <asp:Label ID="LabelConfirmationAddEmployment" runat="server"></asp:Label>
                            <asp:Button CssClass="Button" ID="ButtonAddEmployment" runat="server" Text="Lägg till" OnClick="ButtonAddEmployment_Click" />
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="UtbildningarDiv" class="TwoColumns">
        <div>
            <table class="TableBorder">
                <tr>
                    <td>
                        <h3>Utbildningar:</h3>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <h4>Upplagda utbildningar:</h4>
                        <h4>
                            <asp:DropDownList ID="DropDownListExistingEducations" runat="server">
                            </asp:DropDownList>
                            <asp:Button CssClass="Button" ID="ButtonDeleteEducation" runat="server" Text="Ta bort" OnClick="ButtonDeleteEducation_Click" />
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td>
                        <h4>Utbildning</h4>
                        <asp:TextBox CssClass="Textbox" ID="TextBoxEducationName" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <h4>Utbildningsort</h4>
                        <asp:TextBox CssClass="Textbox" ID="TextBoxEducationLocation" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <h4>Nivå</h4>
                        <h4>
                            <asp:DropDownList ID="DropDownListEducation" runat="server">
                            </asp:DropDownList>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td>
                        <h4>Start<asp:Calendar ID="CalendarEducationStart" runat="server" BackColor="White" BorderColor="#3366CC" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" Width="220px" BorderWidth="1px">
                            <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                            <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                            <OtherMonthDayStyle ForeColor="#999999" />
                            <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                            <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                            <TitleStyle BackColor="#003399" BorderColor="#3366CC" Font-Bold="True" BorderWidth="1px" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                            <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                            <WeekendDayStyle BackColor="#CCCCFF" />
                        </asp:Calendar>
                        </h4>
                    </td>
                    <td>
                        <h4>Slut<asp:Calendar ID="CalendarEducationStop" runat="server" BackColor="White" BorderColor="#3366CC" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" Width="220px" BorderWidth="1px">
                            <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                            <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                            <OtherMonthDayStyle ForeColor="#999999" />
                            <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                            <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                            <TitleStyle BackColor="#003399" BorderColor="#3366CC" Font-Bold="True" BorderWidth="1px" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                            <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                            <WeekendDayStyle BackColor="#CCCCFF" />
                        </asp:Calendar>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <h4>Beskrivning av utbildning</h4>
                        <asp:TextBox CssClass="TextboxBeskrivning" ID="TextBoxDescriptionEducation" runat="server" Height="50px" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <div id="AddButtonDiv3" class="AddButton">
                            <asp:Label ID="LabelConfirmationAddEducation" runat="server"></asp:Label>
                            <asp:Button CssClass="Button" ID="ButtonAddEducation" runat="server" Text="Lägg till" OnClick="ButtonAddEducation_Click" />
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="ErfarenheterDiv" class="TwoColumns">
        <div>
            <table class="TableBorder">
                <tr>
                    <td>
                        <h3>Erfarenheter:</h3>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <h4>Upplagda erfarenheter:</h4>
                        <h4>
                            <asp:DropDownList ID="DropDownListExistingSkills" runat="server">
                            </asp:DropDownList>
                            <asp:Button CssClass="Button" ID="ButtonDeleteSkill" runat="server" Text="Ta bort" OnClick="ButtonDeleteSkill_Click" />
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td>
                        <h4>Rubrik</h4>
                        <asp:TextBox CssClass="Textbox" ID="TextBoxSkillsTitle" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <h4>Nivå</h4>
                        <asp:DropDownList ID="DropDownListSkills" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <h4>Antal års erfarenhet</h4>
                        <p>
                            <asp:TextBox ID="TextBoxYearsOfSkill" runat="server" TextMode="Number"></asp:TextBox>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <h4>Beskrivning av erfarenhet</h4>
                        <asp:TextBox CssClass="TextboxBeskrivning" ID="TextBoxDescriptionSkills" runat="server" Height="50px" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <div id="AddButtonDiv5" class="AddButton">
                            <asp:Label ID="LabelConfirmationAddSkill" runat="server"></asp:Label>
                            <asp:Button CssClass="Button" ID="ButtonAddSkills" runat="server" Text="Lägg till" OnClick="ButtonSaveSkills_Click" />
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="ÖvrigaMeriterDiv" class="TwoColumns">
        <div>
            <table class="TableBorder">
                <tr>
                    <td>
                        <h3>Övriga meriter:</h3>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <h4>Upplagda meriter:</h4>
                        <h4>
                            <asp:DropDownList ID="DropDownListExistingOtherQualifications" runat="server">
                            </asp:DropDownList>
                            <asp:Button CssClass="Button" ID="ButtonDeleteOtherQualification" runat="server" Text="Ta bort" OnClick="ButtonDeleteOtherQualification_Click" />
                        </h4>

                    </td>
                </tr>
                <tr>
                    <td>
                        <h4>Titel</h4>
                        <asp:TextBox CssClass="Textbox" ID="TextBoxOtherQualificationTitle" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <h4>Organisation</h4>
                        <asp:TextBox CssClass="Textbox" ID="TextBoxOtherQualificationOrganizer" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <h4>Start<asp:Calendar ID="CalendarOtherQualificationStart" runat="server" BackColor="White" BorderColor="#3366CC" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" Width="220px" BorderWidth="1px">
                            <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                            <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                            <OtherMonthDayStyle ForeColor="#999999" />
                            <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                            <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                            <TitleStyle BackColor="#003399" BorderColor="#3366CC" Font-Bold="True" BorderWidth="1px" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                            <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                            <WeekendDayStyle BackColor="#CCCCFF" />
                        </asp:Calendar>
                        </h4>
                    </td>
                    <td>
                        <h4>Slut<asp:Calendar ID="CalendarOtherQualificationStop" runat="server" BackColor="White" BorderColor="#3366CC" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" Width="220px" BorderWidth="1px">
                            <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                            <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                            <OtherMonthDayStyle ForeColor="#999999" />
                            <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                            <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                            <TitleStyle BackColor="#003399" BorderColor="#3366CC" Font-Bold="True" BorderWidth="1px" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                            <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                            <WeekendDayStyle BackColor="#CCCCFF" />
                        </asp:Calendar>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <h4>Beskrivning av merit</h4>
                        <asp:TextBox CssClass="TextboxBeskrivning" ID="TextBoxDescriptionOtherQualifications" runat="server" Height="50px" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <div id="AddButtonDiv4" class="AddButton">
                            <asp:Label ID="LabelConfirmationAddOtherQualification" runat="server"></asp:Label>
                            <asp:Button CssClass="Button" ID="ButtonSaveOtherQualification" runat="server" Text="Lägg till" OnClick="ButtonSaveOtherQualification_Click" />
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="SpråkDiv" class="TwoColumns">
        <div>
            <table class="TableBorder">
                <tr>
                    <td>
                        <h3>Språk:</h3>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <h4>Upplagda språk:</h4>
                        <h4>
                            <asp:DropDownList ID="DropDownListExistingLanguages" runat="server">
                            </asp:DropDownList>
                            <asp:Button CssClass="Button" ID="ButtonDeleteLanguage" runat="server" Text="Ta bort" OnClick="ButtonDeleteLanguage_Click" />
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td>
                        <h4>Språk</h4>
                        <asp:TextBox CssClass="Textbox" ID="TextBoxLanguageName" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <h4>Nivå</h4>
                        <asp:DropDownList ID="DropDownListLanguage" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <h4>Antal års erfarenhet</h4>
                        <asp:TextBox CssClass="Textbox" ID="TextBoxLanguageYearsOfExperience" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <div id="AddButtonDiv6" class="AddButton">
                            <asp:Label ID="LabelConfirmationAddLanguage" runat="server"></asp:Label>
                            <asp:Button CssClass="Button" ID="ButtonAddLanguage" runat="server" Text="Lägg till" OnClick="ButtonAddLanguage_Click" />
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="AddButtonDiv7" class="AddButton">
        <asp:Label ID="LabelConfirmationDeleteCV" runat="server"></asp:Label>
        <asp:Button CssClass="Button" ID="ButtonDeleteCV" runat="server" Text="Ta bort CV" OnClick="ButtonDeleteCV_Click" />
        <asp:Button CssClass="Button" ID="ButtonSaveCV" runat="server" Text="Spara CV" OnClick="ButtonSaveCV_Click" />
        <asp:Label ID="LabelConfirmationAddCV" runat="server"></asp:Label>
    </div>
</asp:Content>
